import type { AddressItem } from "@/types/address";
import { defineStore } from "pinia";
import { ref } from "vue";




export const userAddressStore =  defineStore('address',()=>{
    const selecteAddress = ref<AddressItem>()

    const changeSelcteAddress = (a:AddressItem)=>{
        selecteAddress.value = a
    }

    return{
        selecteAddress,
        changeSelcteAddress,
    }
})